package com.ruoyi.community.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 家属信息对象 heart_family_info
 * 
 * @author Gaotian
 * @date 2021-12-16
 */
public class HeartFamilyInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 家属id */
    private Long familyid;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 家属姓名 */
    @Excel(name = "家属姓名")
    private String familyname;

    /** 性别 */
    @Excel(name = "性别")
    private Long gender;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 社区id */
    @Excel(name = "社区id")
    private Long communityid;

    public void setFamilyid(Long familyid) 
    {
        this.familyid = familyid;
    }

    public Long getFamilyid() 
    {
        return familyid;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setFamilyname(String familyname) 
    {
        this.familyname = familyname;
    }

    public String getFamilyname() 
    {
        return familyname;
    }
    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCommunityid(Long communityid) 
    {
        this.communityid = communityid;
    }

    public Long getCommunityid() 
    {
        return communityid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("familyid", getFamilyid())
            .append("userId", getUserId())
            .append("familyname", getFamilyname())
            .append("gender", getGender())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("communityid", getCommunityid())
            .toString();
    }
}
